package com.example.administrator.printoutindemo.mvp.ui.adapter;

import android.content.Context;
import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.example.administrator.printoutindemo.R;
import com.example.administrator.printoutindemo.mvp.ui.entity.JiShuQueRenPie;
import com.example.administrator.printoutindemo.mvp.ui.entity.JiShuQueRenProject;

import java.util.List;


public class JiShuQueRenProjectAdapter extends BaseQuickAdapter<JiShuQueRenProject.ItemsBean, BaseViewHolder> {

    private Context mContext;

    public JiShuQueRenProjectAdapter(Context context, @Nullable List<JiShuQueRenProject.ItemsBean> data) {
        super(R.layout.item_ji_shu_que_ren_project, data);
        this.mContext = context;
    }

    @Override
    protected void convert(BaseViewHolder helper, JiShuQueRenProject.ItemsBean item) {
//        GlideUtil.loadImage(mContext, item.getImg(), helper.getView(R.id.img_product));
//        helper.setText(R.id.tv_xiang_mu_ming_cheng, item.getProjectName());
//        helper.setText(R.id.tv_ji_hua_shu_liang, String.valueOf(item.getSupplyPlanNum()));
//        helper.setText(R.id.tv_yi_que_ren_shu_liang, String.valueOf(item.getSupplyPlanConfirmNum()));

    }

}
